{% extends "base.html" %}

{% block content %}
    <h1>Hi, {{ user.username }}!</h1>
    {% for post in posts %}
    <div><p>[{{ post.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}] {{ post.username }} posted: <b>{{ post.body }}</b></p></div>
    {% endfor %}
{% endblock %}